package com.farm.work.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.farm.common.annotation.Excel;
import com.farm.common.core.domain.BaseEntity;

/**
 * 日程安排对象 work
 * 
 * @author yd
 * @date 2024-03-12
 */
public class Work extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日程安排编号 */
    private Long workId;

    /** 安排日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安排日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workTime;

    /** 星期一 */
    @Excel(name = "星期一")
    private String work1;

    /** 星期二 */
    @Excel(name = "星期二")
    private String work2;

    /** 星期三 */
    @Excel(name = "星期三")
    private String work3;

    /** 星期四 */
    @Excel(name = "星期四")
    private String work4;

    /** 星期五 */
    @Excel(name = "星期五")
    private String work5;

    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkTime(Date workTime) 
    {
        this.workTime = workTime;
    }

    public Date getWorkTime() 
    {
        return workTime;
    }
    public void setWork1(String work1) 
    {
        this.work1 = work1;
    }

    public String getWork1() 
    {
        return work1;
    }
    public void setWork2(String work2) 
    {
        this.work2 = work2;
    }

    public String getWork2() 
    {
        return work2;
    }
    public void setWork3(String work3) 
    {
        this.work3 = work3;
    }

    public String getWork3() 
    {
        return work3;
    }
    public void setWork4(String work4) 
    {
        this.work4 = work4;
    }

    public String getWork4() 
    {
        return work4;
    }
    public void setWork5(String work5) 
    {
        this.work5 = work5;
    }

    public String getWork5() 
    {
        return work5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("workTime", getWorkTime())
            .append("work1", getWork1())
            .append("work2", getWork2())
            .append("work3", getWork3())
            .append("work4", getWork4())
            .append("work5", getWork5())
            .toString();
    }
}
